package com.shop2cn.iapi.sqoptrade.parameter.req;

import java.util.List;

import com.shop2cn.iapi.sqoptrade.parameter.enums.CancelOrderTypeEnum;

public class BatchCancelOrderReq extends BaseRequest {

	private static final long serialVersionUID = -626727822180190652L;
	private String cancelReason;

	private CancelOrderTypeEnum CancelType;

	private List<Long> orderIdList;

	/**
	 * 系统操作取消为 -1
	 * 其他为 买家或卖家id
	 */
	private Long userId;

	@Override
	public boolean requiresAppId() {
		return false;
	}

	public String getCancelReason() {
		return cancelReason;
	}

	public void setCancelReason(String cancelReason) {
		this.cancelReason = cancelReason;
	}

	public CancelOrderTypeEnum getCancelType() {
		return CancelType;
	}

	public void setCancelType(CancelOrderTypeEnum cancelType) {
		CancelType = cancelType;
	}

	public List<Long> getOrderIdList() {
		return orderIdList;
	}

	public void setOrderIdList(List<Long> orderIdList) {
		this.orderIdList = orderIdList;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}
}
